
import mysql from "~/boot/mysql";
import { DataTypes } from "sequelize";


export default mysql.define('user',{
    user_id:{
        type: DataTypes.NUMBER,
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
    },
    username: {
        type: DataTypes.STRING,
        allowNull: false
    },
    password: {
        type: DataTypes.STRING,
        allowNull: false
    }
},{
    freezeTableName: true,
    timestamps: false,
    
})

